{anchor:msg_executeworkflow_0}
!! ExecuteWorkflow message
!!! Constructor
!!!! new COSA.Request.ExecuteWorkflow(workflowId, entityId, requestId)
|| Param || Type || Description ||
| workflowId | {{string}} | Workflow unique identifier (GUID) |
| entityId | {{string}} | Entity unique identifier (GUID) |
| requestId _(optional)_ | {{string}} | Request unique identifier (GUID) |
!!! Properties
|| Name || Type || Description ||
| workflowId | {{string}} | Workflow unique identifier (GUID) |
| entityId | {{string}} | Entity unique identifier (GUID) |
| requestId _(optional)_ | {{string}} | Request unique identifier (GUID) |
!!! Example
{code:javascript}
var workflowId = 'XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX',
    entityId = 'YYYYYYYY-YYYY-YYYY-YYYY-YYYYYYYYYYYY',
    executeWorkflow_0 = new COSA.Request.ExecuteWorkflow(workflowId, entityId);

//message execution
executeWorkflow_0.execute(function ( r ) {
	//working with a response
});
//or
COSA.Request.Execute(executeWorkflow_0, function ( r ) {
	//working with a response
});
{code:javascript}

[Back to Top|#tbl_contents_0]